package com.wanlian.dao;

import com.wanlian.common.PageCondition;
import com.wanlian.entity.Task;
import com.wanlian.entity.UserTask;
import com.wanlian.model.ResultModel;
import com.wanlian.vo.Page;
import org.springframework.scheduling.support.TaskUtils;

import java.util.List;
import java.util.Map;

public interface UserTaskDao extends GenericDao<UserTask> {

    ResultModel queryUserTasks(PageCondition pageCondition);

    ResultModel delUserTasks(UserTask userTask);

    ResultModel addUserTask(UserTask userTask);

    List<UserTask> queryUserTaskByTaskId(int id);

    ResultModel queryUserTaskByParams(PageCondition pageCondition);

}
